<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/8/9
  Time: 18:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>登录界面的国际化</title>
</head>
<body>
<s:a href="language.action?request_locale=zh_CN">中文</s:a>
<s:a href="language.action?request_locale=en_US">English</s:a>

<s:form action="login" method="post">
    <s:text name="login.title"/>
    <s:textfield name="uname" key="login.uname"/>
    <s:password name="upwd" key="login.upwd"/>
    <s:submit type="input" key="login.submit"/>
    <s:reset  key="login.reset"/>
</s:form>
</body>
</html>
